package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName CorpMachine
 * @Description 单位机械
 * @Author dujianyu
 * @Date 2023/12/8 9:38
 */
@Data
@TableName("corp_machine")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CorpMachine对象", description = "单位机械")
public class CorpMachine extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业队ID")
    private Long teamId;

    @ApiModelProperty(value = "机械种类")
    private String machineKind;

    @ApiModelProperty(value = "机械名称")
    private String name;
    private String shortName;

    @ApiModelProperty(value = "排序")
    private Integer sort;
    
    private String machineTypeNo;
    
    private String machinePosition;

    private String remark;
    
    private String machineNo;
    private String machineFullNo;

    private String machineModel;
    
    private String machineCategory;

}
